Skip to content

CacheNotify record

Attributes: [DebuggerDisplay("CacheNotify: {ToString(),nq}")]

Defined in

Namespace: ReactiveList.Reactive.Core Assembly: ReactiveList.Reactive.dll Full name: ReactiveList.Reactive.Core.CacheNotify<T> Modifiers: public sealed

Summary

View source (opens in a new tab)

Represents a notification describing a cache action and the associated item or batch of items.

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Class hierarchy
classDiagram
class CacheNotify~T~
class IEquatable~CacheNotify~T~~ {
    <>
}
IEquatable~CacheNotify~T~~ <|.. CacheNotify~T~

Implements: IEquatable> (opens in a new tab)

Remarks

Initializes a new instance of the CacheNotify class.

Constructors

NameSummary
.ctorRepresents a notification describing a cache action and the associated item or batch of items.

Properties

NameSummary
ActionGets the cache action that triggered the notification.
ItemGets the item associated with the cache action, or default if the action applies to a batch.
BatchGets an optional batch of items associated with the cache action.
CurrentIndexGets the current index of the item in the collection, or -1 if not applicable.
PreviousIndexGets the previous index of the item in the collection, or -1 if not applicable.
PreviousGets the previous item value (for update operations), or default if not applicable.

Methods

NameSummary
ToStringReturns a string that represents the current object.
GetHashCodeServes as the default hash function.
EqualsDetermines whether the specified object is equal to the current object.
Deconstruct

Operators

NameSummary
static op_Inequality
static op_Equality
Inherited members